package com.erhuogo.bean;

import java.util.List;

import com.erhuogo.entity.ThreeCategory;

/**
 * 二级分类（三级分类）集合的bean
 * @author aibinxiao
 * @date 2016年11月9日 下午5:44:00
 */
public class TwoThreeCategory {
	private Integer twoId;// 二级商品类别ID
	private String twoCode;// 二级商品类别编码
	private String twoName;// 二级商品类别名称
	private String twoDesc;// 二级商品类别描述
	private Integer oneCategoryId;// 所属一级类别的ID
	private String twoAlterTime;// 二级商品类别最后修改时间
	private List<ThreeCategory> listThreeCategory;// 该二级分类下所有的三级分类集合

	public Integer getTwoId() {
		return twoId;
	}

	public void setTwoId(Integer twoId) {
		this.twoId = twoId;
	}

	public String getTwoCode() {
		return twoCode;
	}

	public void setTwoCode(String twoCode) {
		this.twoCode = twoCode;
	}

	public String getTwoName() {
		return twoName;
	}

	public void setTwoName(String twoName) {
		this.twoName = twoName;
	}

	public String getTwoDesc() {
		return twoDesc;
	}

	public void setTwoDesc(String twoDesc) {
		this.twoDesc = twoDesc;
	}

	public Integer getOneCategoryId() {
		return oneCategoryId;
	}

	public void setOneCategoryId(Integer oneCategoryId) {
		this.oneCategoryId = oneCategoryId;
	}

	public String getTwoAlterTime() {
		return twoAlterTime;
	}

	public void setTwoAlterTime(String twoAlterTime) {
		this.twoAlterTime = twoAlterTime;
	}

	public List<ThreeCategory> getListThreeCategory() {
		return listThreeCategory;
	}

	public void setListThreeCategory(List<ThreeCategory> listThreeCategory) {
		this.listThreeCategory = listThreeCategory;
	}

	@Override
	public String toString() {
		return "TwoThreeCategory [twoId=" + twoId + ", twoCode=" + twoCode + ", twoName=" + twoName + ", twoDesc="
				+ twoDesc + ", oneCategoryId=" + oneCategoryId + ", twoAlterTime=" + twoAlterTime
				+ ", listThreeCategory=" + listThreeCategory + "]";
	}

}
